﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Diagnostics;

namespace AmiEmuLib.Configuration.KnownRomConfig
{
    /// <summary>
    /// This is list of all roms files in path, that not match known roms.
    /// </summary>
    [DebuggerDisplay("Count = {Count()}")]
    public static class UnknownRoms
    {
        /// <summary>
        /// List of roms.
        /// </summary>
        private static List<UnknownRom> m_roms = new List<UnknownRom>();

        /// <summary>
        /// List of roms.
        /// </summary>
        /// <returns></returns>
        public static IEnumerable<UnknownRom> Roms
        {
            get
            {
                return m_roms;
            }
        }

        /// <summary>
        /// Clear list.
        /// </summary>
        internal static void Clear()
        {
            m_roms.Clear();
        }

        /// <summary>
        /// Add unknown rom to list.
        /// </summary>
        /// <param name="a_rom"></param>
        internal static void Add(UnknownRom a_rom)
        {
            m_roms.Add(a_rom);
        }
    }
}
